@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12" style="position: absolute;z-index: 100">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>凭证展示管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12" style="width: 100%">
                        <div class="row">
                            <!--                            <div class="col-sm-3">
                                                            <#NameCon id="condition" name="名称" />
                                                        </div>-->
                            <!--<div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="Entry.search()"/>
                            </div>-->
                            <p style="color: #0557b2;margin-left: 1570px">权限切换</p>
                        </div>
                        <div class="hidden-xs" id="EntryTableToolbar" role="group">
                            @if(shiro.hasPermission("/entry/add")){
                            <#button name="添加" icon="fa-plus" clickFun="Entry.openAddEntry()"/>
                            @}
                            @if(shiro.hasPermission("/entry/update")){
                            <#button name="修改" icon="fa-edit" clickFun="Entry.openUpdateEntry()" space="true"/>
                            @}
                            <#approval  name="审核" icon="fa-legal" clickFun="Entry.openEntryApproval()" id="approval" />
                            <#approval  name="反审" icon="fa-retweet" clickFun="Entry.openEntryReverseApproval()" id="reverseApproval" />
                            <#button name="过账" icon="fa-random" clickFun="Entry.openPosting()" id="posting" space="true"/>
                            <#button name="结转" icon="fa-pencil" clickFun="Entry.selectByParentList()" space="true"/>
                          <!--  <#button name="删除" icon="fa-remove" clickFun="Entry.openRemove()" id="entryRemove" space="true"/>-->
                            <#button name="搜索" icon="fa-search"  clickFun="Entry.openShowSearch()" space="true"/>
                            <#button name="期末结帐" icon="fa fa-star" clickFun="Entry.openCheckout()" space="true"/>
                            <select style="margin-left: 825px; height: 35px;width: 76px ;border-radius: 20px;text-indent: 5px;"
                                    id="dateClass" onchange="Entry.openDateClass()">
                                <option value="1">审核</option>
                                <option value="0">过账</option>
                            </select>
                        </div>
                        <#table id="EntryTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/finance/entry/entry.js"></script>
<script src="${ctxPath}/static/modular/finance/common/entry-bootstrap-table.js"></script>
<script>
    laydate.render({
        elem: '#business_date',
        type: 'date'
    });
</script>
@}
